import DYRequest from '@/service'
import * as Type from './type'
enum Api {
  banner = '/banner'
}

// 请求推荐banner
export const getBanners = () => {
  return DYRequest.get<Type.reqBannerFaceAndCode>({
    url: Api.banner
  })
}
